Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth: Apache OLTU to Nimbusds #1432

Merged
merged 14 commits into from
Jan 27, 2023
Merged

OAuth: Apache OLTU to Nimbusds #1432

merged 14 commits into from
Jan 27, 2023

Conversation

ericenns
Copy link
Member

@ericenns ericenns commented Dec 9, 2022

Description of changes

What did you change in this pull request? Provide a description of files changed, user interactions changed, etc. Include how to test your changes.

Replaced end of life Apache OLTU library with Nimbusds, which is a currently maintained library. This code change affects OAuth flow for IRIDA to IRIDA syncing and Galaxy import tool.

To test this I would follow the process for setting up a remote project and also test out the irida-galaxy-importer tool, against a server running this code.

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
  • Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

@ericenns ericenns marked this pull request as ready for review December 28, 2022 13:10
@ericenns ericenns requested a review from apetkau January 11, 2023 17:21
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Thanks Eric. I haven't tested it out yet with syncing/Galaxy, but below are some comments. Also, will this impact syncing between old and new IRIDA instances?

@apetkau
Copy link
Member

apetkau commented Jan 26, 2023

Oh, also please add an entry to CHANGELOG.md

@ericenns
Copy link
Member Author

This looks great. Thanks Eric. I haven't tested it out yet with syncing/Galaxy, but below are some comments. Also, will this impact syncing between old and new IRIDA instances?

This does touch the code used to sync between old and new IRIDA instances, but it does not break compatibility with older instances. The reason being that we are still performing the same OAuth flow, we are just using a different library that is still being supported.

Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @ericenns . I tested this by syncing between this version of IRIDA and an older version (22.09.X) in both directions. I also tested the Galaxy importer. This all works.

@apetkau apetkau merged commit 3af1512 into development Jan 27, 2023
@apetkau apetkau deleted the oltu-to-nimbusds branch January 27, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants